package com.zb.service;

import com.zb.entity.NewsDetail;

import java.util.List;

/**
 * Created by 11965 on 2019/7/8.
 */
public interface NewsDetailService {

    //查询全部
    public List<NewsDetail> listAll();

    //添加
    public int addNews(NewsDetail n);

    //删除
    public int deleteNews(int id);

    //根据id查询
    public NewsDetail findById(int id);

    //修改
    public int updateNews(NewsDetail n);
}
